/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package technotheist.geo.planet;

import technotheist.geo.map.scalar.FloatMap;
import technotheist.geo.map.vector.Float4Map;

/**
 *
 * @author Mitchel Strachan
 */
public class FluidMap {
    
    PlanetLayer lower;
    //
    FluidType[] fluidTypes;
    //
    Float4Map pos, vel, forceAcc;
    FloatMap density, mass, pressure, energy;
    
    public int fluidCount() {
        return density.components;
    }
    
    public static interface FluidType
    {
        public float mass();
        public float advectRate();
        public float diffuseRate();
        
    }
    
}
